package com.lijy.entity;

import java.io.Serializable;

public class Stu implements Serializable{
    private int sid;
    private String sname;
    private String sex;
    
	public Stu(String sname, String sex) {
		super();
		this.sname = sname;
		this.sex = sex;
	}
	public Stu() {
		super();
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	@Override
	public String toString() {
		return "Stu [sex=" + sex + ", sid=" + sid + ", sname=" + sname + "]";
	}
    
}
